@extends('Shop.index')

@section('content')

<!--aside nav-->
<section class="rt_wrap content mCustomScrollbar">
 <div class="rt_content">
      <div class="page_title">
       <h2 class="fl">订单详情示例</h2>
      </div>
      <table class="table">
       <tr>
        <td>收件人：{{$data->name}}</td>
        <td>联系电话：{{$data->phone}}</td>
        <td>收件地址：{{$data->detail}}</td>
        
       </tr>
       <tr>
        <td>订单状态：<a>
          @if($data->oStatus=='0')未付款@endif
          @if($data->oStatus=='1')已付款未发货@endif
          @if($data->oStatus=='2')已发货@endif
          @if($data->oStatus=='3')待收货@endif
          @if($data->oStatus=='4')已收货@endif
        </a></td>
        <td>发货时间：{{date('Y-m-d H:i:s',$data->sendTime)}}</td>
        <td colspan="3">订单备注：<mark>帮我检查好呀~谢谢~</mark></td>
        </tr>
      </table>
      <table class="table">
       <tr>
        <td class="center"><img src="{{$data->cover}}" width="50" height="50"/></td>
        <td>{{$data->spname}}</td>
        <td class="center"><strong class="rmb_icon">{{$data->price}}</strong></td>
        <td class="center">
         <p>颜色：{{$data->color}}</p>
         <p>尺码：{{$data->shuxing}}</p>
        </td>
        <td class="center"><p> 数量：{{$data->counts}}</p></td>
        <td class="center"><strong class="rmb_icon">{{$data->orderMoney}}</strong></td>
       </tr>
      </table>
      <aside class="mtb" style="text-align:right;">
      <label>管理员操作：</label>
	    <a href="/sporder/update/{{$data->onum}}/2" class="group_btn"><br>发货</a>
	    <a href="/sporder/update/{{$data->onum}}/4" class="group_btn"><br>确认收货</a>
      </aside>
 </div>
</section>
@endsection
@section('js')
<script src="/shopadmin/js/ueditor.config.js"></script>
<script src="/shopadmin/js/ueditor.all.min.js"> </script>
@endsection